wait_minio

docker run --rm --net=gaf-net -e PGPASSWORD=123456 registry.cn-hangzhou.aliyuncs.com/supermap-gaf/build-tools:v1.0 psql -o /dev/null -q -h ${HOSTIP} -p 5432 -U admin -d gaf-storage -c "
INSERT INTO \"public\".\"storage_space\"(\"target_type\", \"target\", \"storage_name\", \"id\", \"parent_space_id\", \"created_type\", \"description\", \"total_size\", \"created_time\", \"updated_time\", \"name\") VALUES ('T', 'tenant_000000', 'gaf-pro', '457c7508-30dc-4a62-bba9-30b79b7d6f58', '2f894d13-f873-4bbd-b4ea-516a31182b09', 'C', NULL, -1, '2021-09-02 06:29:45.303288', '2021-09-02 06:29:45.303288', 'default');
"

docker run --rm --net=gaf-net -e PGPASSWORD=123456 registry.cn-hangzhou.aliyuncs.com/supermap-gaf/build-tools:v1.0 psql -o /dev/null -q -h ${HOSTIP} -p 5432 -U admin -d gaf-storage -c "
INSERT INTO \"public\".\"storage_s3_server\"(\"access_key\", \"secret_key\", \"service_endpoint\", \"id\") VALUES ('admin', 'admin123456', 'http://${HOSTIP}:9000', '2f894d13-f873-4bbd-b4ea-516a31182b09');
"

